/* Que 2:
 * Write a program to print 1 to 10 using thread without synchronizable.
 */

/**
 *
 * @author savan
 */
public class P2 {
    public static void main(String []args) throws InterruptedException
    {
        Thread t = new Thread(new P2_T());
        t.setName("T1 :");
       // t.setPriority(3);
        t.sleep(2000);
        t.start();
        
        //Thread.sleep(1000);
        Thread t1 = new Thread(new P2_T());
        t1.setName("T2 :");
       //t1.setPriority(7);
        t1.start();
    }
}
